package com.example.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p></p>
 *
 * @author Shad0ws
 * <create>2022年7月1日23:00:56</create>
 */
@FeignClient(value = "server-provider", qualifiers = "server-provider")
public interface ProviderService {

    @GetMapping(value = "/provider/echo/{str}")
    String echo(@PathVariable String str);
}
